﻿using System;

namespace Common.Exceptional.Routing
{
    /// <summary>
    /// 表示异常的处理程序，只允许在方法上标注
    /// </summary>
    [AttributeUsage(AttributeTargets.Method)]
    public class ExceptionHandlingAttribute : Attribute
    {
        /// <summary>
        /// 触发顺序，从小到大
        /// </summary>
        public int Order { get; set; }

        public string Channel { get; set; }
    }
}